﻿@model Accounting.DataAccess.SubCategory
@{
    ViewBag.Title = "DeleteSub";
}
<h2>
    Delete Sub Category</h2>
@Html.ValidationSummary(true)
<h3>
    Are you sure you want to delete this?</h3>
<fieldset>
    <legend>SubCategory</legend>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>
</fieldset>
@using (Html.BeginForm())
{
    <p>
        <input type="submit" value="Delete" />
        |
        @Html.ActionLink("Back to Category", "Edit", new { id = Model.CategoryId })
    </p>
}
